package edu.caltech.cs.cs141.CopilotWeb.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.Embedded;

import com.googlecode.objectify.annotation.Unindexed;



public class TripDataClient implements Serializable {

	String username;
	long trip_id;
	int score;
	String triptype;
	int duration;
	long triptime;
	
	List<Coordinate> dataGPS;
	List<AbPoint> dataAcc;

	
	public String getUsername() {
		return username;
	}
	
	public long getID() {
		return trip_id;
	}
	
	public String getType() {
		return triptype;
	}
	
	public int getDuration() {
		return duration;
	}
	
	public int getScore() {
		return score;
	}
	public long getStart() {
		return triptime;
	}
	
	public List<Coordinate> getGData() {
		return dataGPS;
	}
	
	public List<AbPoint> getAData() {
		return dataAcc;
	}
	
	public void setData(String _username, long _trip_id, int _score, String _triptype, 
			int _duration, long _triptime, List<Coordinate> Gdata, List<AbPoint> Adata) {
		username = _username;
		trip_id = _trip_id;
		score = _score;
		triptype = _triptype;
		duration = _duration;
		triptime = _triptime;
		dataGPS = Gdata;
		dataAcc = Adata;
	}

}

